#include <STC89C5xRC.H>
#include "delay.h"
#include "LCD1602.h"
#include "matrixkey.h"

unsigned char keynum;
void main()
{
	LCD_Init();
	LCD_ShowString(1,1,"PASSWORD");
	//keynum = matrixkey();

	while(1)
	{
		keynum = matrixkey();
		if(keynum)
		{
			LCD_ShowNum(2,1,keynum,2);
		}
	}
	
}
